package model;

public class Classes {
    private String classId,majorId,clName;
    private int number;

    public Classes(String classId, String majorId, String clName, int number) {
        this.classId = classId;
        this.majorId = majorId;
        this.clName = clName;
        this.number = number;
    }

    public Classes() {

    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getMajorId() {
        return majorId;
    }

    public void setMajorId(String majorId) {
        this.majorId = majorId;
    }

    public String getClName() {
        return clName;
    }

    public void setClName(String clName) {
        this.clName = clName;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @java.lang.Override
    public java.lang.String toString() {
        return "classes{" +
                "classId='" + classId + '\'' +
                ", majorId='" + majorId + '\'' +
                ", clName='" + clName + '\'' +
                ", number=" + number +
                '}';
    }
}
